/*
 * IrcConstants.java
 * 
 * This file is part of the Sorcix Java IRC Library (sIRC).
 * 
 * Copyright (C) 2008-2009 Vic Demuzere http://sorcix.com
 * 
 * Permission is hereby granted, free of charge, to any person
 * obtaining a copy of this software and associated documentation
 * files (the "Software"), to deal in the Software without
 * restriction, including without limitation the rights to use, copy,
 * modify, merge, publish, distribute, sublicense, and/or sell copies
 * of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
package com.sorcix.sirc;

/**
 * Constants and Numeric IRC server replies.
 * 
 * @author Sorcix
 */
final class IrcConstants {
	
	/** Possible channel prefixes. */
	protected static final String CHANNEL_PREFIX = "#&+!";
	/** CTCP message mark. */
	protected static final String CTCP = "\u0001";
	/** Default port (6667) */
	protected static final int DEFAULT_PORT = 6667;
	/** End line character. */
	protected static final String ENDLINE = "\n";
	/** Maximum line length. */
	protected static final int MAX_LINE_LENGTH = 512;
	/** Mode character for admin. (Not supported by RFC!) */
	protected static final char MODE_ADMIN = 'a';
	/** Mode character for founder. (Not supported by RFC!) */
	protected static final char MODE_FOUNDER = 'q';
	/** Mode character for half-op. (Not supported by RFC!) */
	protected static final char MODE_HALF_OP = 'h';
	/** Mode character for operator. */
	protected static final char MODE_OPERATOR = 'o';
	/** Mode character for voice. */
	protected static final char MODE_VOICE = 'v';
	/** Lists users in a channel. */
	protected static final int REPLY_NAMES = 353;
	/** End of user list. */
	protected static final int REPLY_NAMES_END = 366;
	/** Topic for a channel. */
	protected static final int REPLY_TOPIC = 332;
	/** Possible user prefixes. */
	protected static final String USER_PREFIX = "~@+&";
}